package com.prothink.service.impl;

import com.prothink.dao.JsLogDao;
import com.prothink.entity.JsLog;
import com.prothink.service.JsLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName : JsLogServiceImpl  //类名
 * @Description :   //描述
 * @Author : Zhang //作者
 * @Date: 11/28  21:31
 */
@Service
public class JsLogServiceImpl implements JsLogService {
    @Autowired(required = false)
    private JsLogDao jsLogDao;

    @Override
    public List<JsLog> getLog(Integer logType, String type) {
        return jsLogDao.getLog(logType,type);
    }

//    @Override
//    public List<JsLog> getLog(Integer logType, String trueName, String createDate, String type) {
//        return jsLogDao.getLog(logType,trueName,createDate,type);
//    }

    @Override
    public Boolean deleteLog(Integer logId) {
        return jsLogDao.deleteLog(logId);
    }
}
